This script uses onClick events to capture changing information
about a radio button set.
Discussion
When only one of a set of values may be valid,
use radio buttons rather than a series of standard
buttons. You don't have to store "prior value", "new
value", etc.